static deltas: Use OtVariantBuilder to create deltas
authorAlexander Larsson <alexl@redhat.com>
Wed, 25 Oct 2017 18:45:21 +0000 (20:45 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 27 Oct 2017 21:49:26 +0000 (21:49 +0000)
commit74a5df7bd7410125674c7a9398d429baa29a51a3
tree6cb52c14226cd7e0a7442e766d46cdcc967934b5
parent72bb1a6b17fe4cd778cc886b12601c0535af5c27
static deltas: Use OtVariantBuilder to create deltas

This allows us to create the final delta desciptor directly on disk
rather than having it all in memory. This is nice because it can
become quite large if inlined parts are used.

Note however, that we currently generate all the delta parts in
memory before adding them to the delta, so we still keep all individual
parts in memory. Fixing that is the next step.

Closes: #1309
Approved by: cgwalters
src/libostree/ostree-repo-static-delta-compilation.c